package io.github.nnkwrik.goodsservice.service.impl;

import io.github.nnkwrik.goodsservice.dao.CategoryMapper;
import io.github.nnkwrik.goodsservice.model.po.Category;
import io.github.nnkwrik.goodsservice.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @title : CategoryServiceImpl
 * @Author : Administrator
 * @Date : 2025/5/7
 * @Version : 1.0.0
 * @Description :
 */
@Service
public class CategoryServiceImpl implements CategoryService {

    @Autowired
    private CategoryMapper categoryMapper;
    @Override
    public Category findCategoryById(int id) {
        return categoryMapper.findCategoryById(id);
    }
}
